# $Id: PKGBUILD 178444 2013-02-22 12:16:09Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=hwdetect
pkgver=2013.02
pkgrel=1
pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support"
arch=(any)
license=('GPL')
depends=('sh' 'awk' 'grep' 'coreutils' 'sed' 'e2fsprogs')
optdepends=('cryptsetup: for encrypt mkinitcpio config support'
            'dmraid:     for dmraid mkinitcpio config support'
            'lvm2:       for lvm2 mkinitcpio config support'
            'mdadm:      for raid mkinitcpio config support')
source=(hwdetect)

package() {
  install -D -m 755 "${srcdir}/hwdetect" "${pkgdir}/sbin/hwdetect"
}
md5sums=('894a3f1d481179651af00278f7638084')
